package com.yicong.ants.bean.account;

/**
 * @author cch
 * @version 2021/8/28
 */
public class OneLoginBean {
    int status;
    String process_id;
    String token;
    String authcode;

    public OneLoginBean() {
    }

    public int getStatus() {
        return this.status;
    }

    public String getProcess_id() {
        return this.process_id;
    }

    public String getToken() {
        return this.token;
    }

    public String getAuthcode() {
        return this.authcode;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setProcess_id(String process_id) {
        this.process_id = process_id;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setAuthcode(String authcode) {
        this.authcode = authcode;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof OneLoginBean)) return false;
        final OneLoginBean other = (OneLoginBean) o;
        if (!other.canEqual((Object) this)) return false;
        if (this.getStatus() != other.getStatus()) return false;
        final Object this$process_id = this.getProcess_id();
        final Object other$process_id = other.getProcess_id();
        if (this$process_id == null ? other$process_id != null : !this$process_id.equals(other$process_id))
            return false;
        final Object this$token = this.getToken();
        final Object other$token = other.getToken();
        if (this$token == null ? other$token != null : !this$token.equals(other$token))
            return false;
        final Object this$authcode = this.getAuthcode();
        final Object other$authcode = other.getAuthcode();
        if (this$authcode == null ? other$authcode != null : !this$authcode.equals(other$authcode))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OneLoginBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + this.getStatus();
        final Object $process_id = this.getProcess_id();
        result = result * PRIME + ($process_id == null ? 43 : $process_id.hashCode());
        final Object $token = this.getToken();
        result = result * PRIME + ($token == null ? 43 : $token.hashCode());
        final Object $authcode = this.getAuthcode();
        result = result * PRIME + ($authcode == null ? 43 : $authcode.hashCode());
        return result;
    }

    public String toString() {
        return "OneLoginBean(status=" + this.getStatus() + ", process_id=" + this.getProcess_id() + ", token=" + this.getToken() + ", authcode=" + this.getAuthcode() + ")";
    }
}
